package pers.fengxu.learnmybatis.jdbc;

import java.lang.reflect.Parameter;


public class MapperStatement {
    private String sql;
    private Class<?> resultType;
    private String id;
    private Parameter[] parameters;

    public MapperStatement() {
    }

    public MapperStatement(String sql, Class<?> resultType, String id, Parameter[] parameters) {
        this.sql = sql;
        this.resultType = resultType;
        this.id = id;
        this.parameters = parameters;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public Class<?> getResultType() {
        return resultType;
    }

    public void setResultType(Class<?> resultType) {
        this.resultType = resultType;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Parameter[] getParameters() {
        return parameters;
    }

    public void setParameters(Parameter[] parameters) {
        this.parameters = parameters;
    }
}
